-- GENERATED SPELL FOR [Cabal Fanatic] --


function spell0_18830(pUnit, Event) --@Fixate,n/a--
pUnit:FullCastSpellOnTarget(12021,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18830', 10281, 1)
end

function Sorts_18830(pUnit, Event)
local choix_sorts_18830 = math.random(0, 0)
if choix_sorts_18830 == 0 then
pUnit:RegisterEvent('spell0_18830', 1, 1)
end
end

function mob18830_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18830', math.random(1500, 3000), 1)
end

function mob18830_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18830_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18830_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18830, 1, 'mob18830_Action')
RegisterUnitEvent(18830, 2, 'mob18830_Leave')
RegisterUnitEvent(18830, 3, 'mob18830_Kill')
RegisterUnitEvent(18830, 4, 'mob18830_Die')
